<!DOCTYPE HTML>
<html lang="cn-zh">
<head>
<meta charset="UTF-8"/>
<title>{{ test }}</title>
<!--[if IE 6]>
<script type="text/javascript" src="firebug-lite/build/firebug-lite.js"></script>
<![endif]-->
<script src="../src/core.js"></script>
<script src="../src/scanners.js"></script>
<script src="../src/parser.js"></script>
<script>
var model = factory({
	$id: 'test',
	test: 'Hello Word!'
});
var model2 = factory({
	$id: 'testa',
	test: '表1'
});
setTimeout(function() {
	model.$set('test', 'Hello Jcode!');
}, 2000);
</script>
</head>
<body x-controller="test">
	<div id="test">{{ test }}</div>
	<table x-controller="testa">
		<caption> 标题: {{ test }} </caption>
		<tr>
			<th>ID</th>
			<th>姓名</th>
			<th>性别</th>
			<th>email</th>
			<th>操作</th>
		</tr>
		<tr>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
		</tr>
		<tr>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
			<td></td>
		</tr>
	</table>
</body>
</html>